package com.xzr.entity;

import java.util.List;
import java.util.Map;

/**
 * @Author：jojo
 * @Date：2022/1/25 15:58
 * @Description :TODO
 */
public class User {
    private String name;
    private int age;
    private List list;
    private Map<String,String> map;

    public User() {
    }

    public User(String name, int age, List list, Map<String, String> map) {
        this.name = name;
        this.age = age;
        this.list = list;
        this.map = map;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", list=" + list +
                ", map=" + map +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public List getList() {
        return list;
    }

    public void setList(List list) {
        this.list = list;
    }

    public Map<String, String> getMap() {
        return map;
    }

    public void setMap(Map<String, String> map) {
        this.map = map;
    }
}
